package com.ruoyi.project.emmanuel.cloud.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * 附件-业务关联关系表  business_file_link
 *
 * @author 一粒麦子
 * @date 2025-01-05
 */
@Data
public class BusinessFileLink implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 业务id
     */
    private Long businessId;

    /**
     * 附件id 文件cloud_file id
     */
    private Long attachmentId;

    /**
     * 类型： 0 博客，1随手记
     */
    private String type;

}
